<?php
session_start();
include('lib/lib.php');
include('connado.php');
//include('authen.php');
header("Content-type: text/html; charset=utf-8");
$logfile = PAHTLOG."ajax_showexch-" . date("Y-m-d") . ".log";

$emp_id = $_REQUEST['emp_id'];
$empname = $_REQUEST['empname'];
//$empname = iconv('utf8','tis620',$empname);

writelog($logfile, "emp_id     : " . $emp_id);
writelog($logfile, "empname     : " . $empname);

//$html .= viewMt($db, $emp_id);
$html .= viewMainternce($db, $emp_id);

writelog($logfile, "reply : $html");
writelog($logfile, "-------------------------------------------------- ");

echo $html;
?>

